package com.ybkj.daijia.server.model;

import com.ybkj.daijia.server.model.Order.PayTypeDetails;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单结算信息
 *
 * @author Shine
 */
public class OrderFinishedInfo extends Base {

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    private Long orderId;

    private String orderNumber;//1

    private Date finishTime;//1

    private Date createTime;

    private Long clientId;//客户id

    private String clientPhone;

    private BigDecimal shouldCash; //应收金额

    private BigDecimal realCash; //实收金额1

    private Long driverId;//接单司机 id

    private Long companyId;//订单公司id1

    private PayTypeDetails payTypeDetails; // 详细支付方式

    private PayTypeDetails prePayTypeDetail; // 预支付方式

    private PayTypeDetails afterPayTypeDetail; // 后支付方式（可能无）

    private BigDecimal couponMoney;//优惠劵金额1

    private BigDecimal cashMoney;//现金金额1

    private BigDecimal signMoney;//签单金额1

    private BigDecimal balanceMoney;//余额金额1

    private BigDecimal alipayMoney;//支付宝金额1

    private BigDecimal weixinMoney;//微信金额1

    private BigDecimal driverMoney;//司机收入1

    private BigDecimal companyMoney;//公司收入1

    private BigDecimal wxManagerMoney;//客户经理收入1

    private BigDecimal infoFee;//信息费

    private BigDecimal djxFee;//代驾险

    private BigDecimal ywxFee;//意外险

    private BigDecimal rebateMoney;//介绍提成

    private BigDecimal guoluMoney;//过路费

    private BigDecimal yuanchengMoney;//远程费

    private BigDecimal otherMoney;//其他费


    public BigDecimal getGuoluMoney() {
        if (null == guoluMoney) {
            return BigDecimal.ZERO;
        }
        return guoluMoney;
    }

    public void setGuoluMoney(BigDecimal guoluMoney) {
        this.guoluMoney = guoluMoney;
    }

    public BigDecimal getYuanchengMoney() {
        if (null == yuanchengMoney) {
            return BigDecimal.ZERO;
        }
        return yuanchengMoney;
    }

    public void setYuanchengMoney(BigDecimal yuanchengMoney) {
        this.yuanchengMoney = yuanchengMoney;
    }

    public BigDecimal getOtherMoney() {
        if (null == otherMoney) {
            return BigDecimal.ZERO;
        }
        return otherMoney;
    }

    public void setOtherMoney(BigDecimal otherMoney) {
        this.otherMoney = otherMoney;
    }

    public PayTypeDetails getPrePayTypeDetail() {
        return prePayTypeDetail;
    }

    public void setPrePayTypeDetail(PayTypeDetails prePayTypeDetail) {
        this.prePayTypeDetail = prePayTypeDetail;
    }

    public PayTypeDetails getAfterPayTypeDetail() {
        return afterPayTypeDetail;
    }

    public void setAfterPayTypeDetail(PayTypeDetails afterPayTypeDetail) {
        this.afterPayTypeDetail = afterPayTypeDetail;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public Long getClientId() {
        return clientId;
    }

    public void setClientId(Long clientId) {
        this.clientId = clientId;
    }

    public String getClientPhone() {
        return clientPhone;
    }

    public void setClientPhone(String clientPhone) {
        this.clientPhone = clientPhone;
    }

    public BigDecimal getShouldCash() {
        if (null == shouldCash) {
            return BigDecimal.ZERO;
        }
        return shouldCash;
    }

    public void setShouldCash(BigDecimal shouldCash) {
        this.shouldCash = shouldCash;
    }

    public BigDecimal getRealCash() {
        if (null == realCash) {
            return BigDecimal.ZERO;
        }
        return realCash;
    }

    public void setRealCash(BigDecimal realCash) {
        this.realCash = realCash;
    }

    public Long getDriverId() {
        return driverId;
    }

    public void setDriverId(Long driverId) {
        this.driverId = driverId;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public PayTypeDetails getPayTypeDetails() {
        return payTypeDetails;
    }

    public void setPayTypeDetails(PayTypeDetails payTypeDetails) {
        this.payTypeDetails = payTypeDetails;
    }

    public BigDecimal getCouponMoney() {
        if (null == couponMoney) {
            return BigDecimal.ZERO;
        }
        return couponMoney;
    }

    public void setCouponMoney(BigDecimal couponMoney) {
        this.couponMoney = couponMoney;
    }

    public BigDecimal getCashMoney() {
        if (null == cashMoney) {
            return BigDecimal.ZERO;
        }
        return cashMoney;
    }

    public void setCashMoney(BigDecimal cashMoney) {
        this.cashMoney = cashMoney;
    }

    public BigDecimal getSignMoney() {
        if (null == signMoney) {
            return BigDecimal.ZERO;
        }
        return signMoney;
    }

    public void setSignMoney(BigDecimal signMoney) {
        this.signMoney = signMoney;
    }

    public BigDecimal getBalanceMoney() {
        if (null == balanceMoney) {
            return BigDecimal.ZERO;
        }
        return balanceMoney;
    }

    public void setBalanceMoney(BigDecimal balanceMoney) {
        this.balanceMoney = balanceMoney;
    }

    public BigDecimal getDriverMoney() {
        if (null == driverMoney) {
            return BigDecimal.ZERO;
        }
        return driverMoney;
    }

    public void setDriverMoney(BigDecimal driverMoney) {
        this.driverMoney = driverMoney;
    }

    public BigDecimal getCompanyMoney() {
        if (null == companyMoney) {
            return BigDecimal.ZERO;
        }
        return companyMoney;
    }

    public void setCompanyMoney(BigDecimal companyMoney) {
        this.companyMoney = companyMoney;
    }

    public BigDecimal getWxManagerMoney() {
        if (null == wxManagerMoney) {
            return BigDecimal.ZERO;
        }
        return wxManagerMoney;
    }

    public void setWxManagerMoney(BigDecimal wxManagerMoney) {
        this.wxManagerMoney = wxManagerMoney;
    }

    public BigDecimal getInfoFee() {
        if (null == infoFee) {
            return BigDecimal.ZERO;
        }
        return infoFee;
    }

    public void setInfoFee(BigDecimal infoFee) {
        this.infoFee = infoFee;
    }

    public BigDecimal getDjxFee() {
        if (null == djxFee) {
            return BigDecimal.ZERO;
        }
        return djxFee;
    }

    public void setDjxFee(BigDecimal djxFee) {
        this.djxFee = djxFee;
    }

    public BigDecimal getYwxFee() {
        if (null == ywxFee) {
            return BigDecimal.ZERO;
        }
        return ywxFee;
    }

    public void setYwxFee(BigDecimal ywxFee) {
        this.ywxFee = ywxFee;
    }

    public BigDecimal getRebateMoney() {
        if (null == rebateMoney) {
            return BigDecimal.ZERO;
        }
        return rebateMoney;
    }

    public void setRebateMoney(BigDecimal rebateMoney) {
        this.rebateMoney = rebateMoney;
    }

    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public BigDecimal getAlipayMoney() {
        if (null == alipayMoney) {
            return BigDecimal.ZERO;
        }
        return alipayMoney;
    }

    public void setAlipayMoney(BigDecimal alipayMoney) {
        this.alipayMoney = alipayMoney;
    }

    public BigDecimal getWeixinMoney() {
        if (null == weixinMoney) {
            return BigDecimal.ZERO;
        }
        return weixinMoney;
    }

    public void setWeixinMoney(BigDecimal weixinMoney) {
        this.weixinMoney = weixinMoney;
    }


}
